package Static;

import java.net.Socket;
import java.util.HashMap;

import com.sun.javafx.collections.MappingChange.Map;

import sun.security.action.GetIntegerAction;
import sun.security.action.PutAllAction;

public class StaticTest {
	public static int a = 9;
	public static HashMap<String, Socket> socketMap = new HashMap<>();
	public static HashMap<String, Thread> threadMap = new HashMap<>();
	public static String b = "aaa";

	public static int GetInt() {
		return a;
	}

	public static String GetString() {
		return b;
	}

	public static HashMap<String, Socket> socketMapPut(String appName, Socket socket) {
		socketMap.put(appName, socket);
		return socketMap;
	}
	public static HashMap<String, Socket> threadMapPut(String appName, Thread thread) {
		threadMap.put(appName, thread);
		return socketMap;
	}
}
